/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.terminalrodoviario;

import java.util.Date;

/**
 *
 * @author jorge
 */
public class Notice extends BaseEntity<Notice> {


    // <editor-fold defaultstate="collapsed" desc="Builders">
    public Notice()
    {
    }

    public Notice(String title, String subTitle, String description, Date date)
    {
        this.title=title;
        this.description=description;
        this.subTitle=subTitle;
        this.date=date;
    }
    //</editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Properties">
    private String title;
    private String subTitle;
    private String description;
    private Date date;
    private boolean isPublished;

    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Gets and Sets">
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public boolean isIsPublished() {
        return isPublished;
    }

    public void setIsPublished(boolean isPublished) {
        this.isPublished = isPublished;
    }
    // </editor-fold>
    
}
